package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportSmsTemplateDTO;
import com.hunttown.mes.rpc.domain.query.TransportSmsTemplateDTOQuery;

/**
 * created by wangjunfu on 2019-05-19 01:20:15
 */
public interface TransportSmsTemplateRpcService {

    TransportSmsTemplateDTO insert(TransportSmsTemplateDTO transportSmsTemplateDTO);

    Boolean updateInfoById(TransportSmsTemplateDTO transportSmsTemplateDTO);

    Boolean updateInfoByQuery(TransportSmsTemplateDTOQuery transportSmsTemplateDTOQuery);

    TransportSmsTemplateDTO selectById(Integer id);

    TransportSmsTemplateDTO selectObjByQuery(TransportSmsTemplateDTOQuery transportSmsTemplateDTOQuery);

    Page<TransportSmsTemplateDTO> getListForPage(TransportSmsTemplateDTOQuery transportSmsTemplateDTOQuery);

    Boolean deleteById(Integer id);
}